package com.tianbao54.kotlin_01

class MyExtensionProperty

val MyExtensionProperty.name get() = "zhangsan"

fun main(args: Array<String>) {

    var myExtensionProperty = MyExtensionProperty()
    println("name = ${myExtensionProperty.name}")
}